package com.emep.changzhi.analyse.service.statistics;


import com.emep.changzhi.analyse.entity.outlet.SysOutletInfo;
import com.emep.changzhi.analyse.service.outlet.SysOutletInfoService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author lqj
 * @version V1.0
 * @Description: 按照小时数据（6参数）排序国控站点
 * @date 2018/4/12
 */
@Service
public class HourSiteSortService {

    private static final Logger logger = LoggerFactory.getLogger(SysOutletInfoService.class);

    /**
     *
     * 不含查询条件的分页获取数据
     *

     * @return
     * @throws Exception
     */
    public List<SysOutletInfo> sortSite(Map<String, Object> payload){
        try {
//            Pageable pageable = new PageRequest(pageNo-1, pageSize);
//            return  sysOutletInfoRepository.findAll(pageable);
            return null;
        } catch (Exception e) {
            logger.error(e.getLocalizedMessage());
            return null;
        }
    }

}
